package org.jeecg.modules.system.service;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.system.entity.Manufacturer;
import org.jeecg.modules.system.entity.ManufacturerStaff;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 厂商管理
 * @Author: jeecg-boot
 * @Date:   2024-07-12
 * @Version: V1.0
 */
public interface IManufacturerService extends IService<Manufacturer> {

	/**
	 * 添加一对多
	 *
	 * @param manufacturer
	 * @param manufacturerStaffList
	 */
	public void saveMain(Manufacturer manufacturer,List<ManufacturerStaff> manufacturerStaffList) ;
	
	/**
	 * 修改一对多
	 *
   * @param manufacturer
   * @param manufacturerStaffList
	 */
	public void updateMain(Manufacturer manufacturer,List<ManufacturerStaff> manufacturerStaffList);
	
	/**
	 * 删除一对多
	 *
	 * @param id
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 *
	 * @param idList
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);
	
}
